home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
libimp.z
/
libimp
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
LLLLIIIIBBBBIIIIMMMMPPPP((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo LLLLIIIIBBBBIIIIMMMMPPPP((((3333))))
LLLLIIIIBBBBRRRRAAAARRRRYYYY DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_l_i_b_i_m_p provides a C Language application programming interface (API) for
reading and writing Silicon Graphics Image Format files and for
performing a number of format independent image processing operations.
These format independent operations include color space conversion and
filtered image zooming.
_l_i_b_i_m_p provides all functionality of the _l_i_b_i_m_a_g_e library. In addition,
_l_i_b_i_m_p provides function prototypes, a documented interface, reliable
error reporting and a number of other enhancements.
LLLLIIIIBBBBRRRRAAAARRRRYYYY AAAACCCCCCCCEEEESSSSSSSS
A program that calls _l_i_b_i_m_p functions must include the _i_m_p._h header file
located in the ////uuuussssrrrr////iiiinnnncccclllluuuuddddeeee directory. In addition, the program must link
with the _l_i_b_i_m_p._a library located in ////uuuussssrrrr////lllliiiibbbb. The link line would look
like:
... -limp ...
FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
The _l_i_b_i_m_p library consists of two main sets of functions. The first set
of functions performs operations on SGI Image Format files. The second
set of functions performs operations on image data in a format
independent manner.
SSSSGGGGIIII IIIIMMMMAAAAGGGGEEEE FFFFOOOORRRRMMMMAAAATTTT FFFFIIIILLLLEEEE FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
IIIImmmmaaaaggggeeee AAAAcccccccceeeessssssss
impOpen
impOpenFd
impOpenBuf
impOpenExt
impOpenFdExt
impOpenBufExt
impClose
impCloseFd
IIIImmmmaaaaggggeeee IIII////OOOO
impReadRow
impReadRowB
impWriteRow
impWriteRowB
FFFFOOOORRRRMMMMAAAATTTT IIIINNNNDDDDEEEEPPPPEEEENNNNDDDDEEEENNNNTTTT FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
ZZZZoooooooommmmiiiinnnngggg
impCreateZoom
impDestroyZoom
impResetZoom
impZoomRow
PPPPaaaaggggeeee 1111
LLLLIIIIBBBBIIIIMMMMPPPP((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo LLLLIIIIBBBBIIIIMMMMPPPP((((3333))))
DDDDaaaattttaaaa PPPPaaaacccckkkkiiiinnnngggg
impPackRow
impUnpackRow
MMMMaaaatttthhhh OOOOppppeeeerrrraaaattttiiiioooonnnnssss
impZeroRow
impInitRow
impCopyRow
impSAddRow
impVAddRow
impSSubRow
impVSubRow
impSMulRow
impSDivRow
impClampRow
CCCCoooolllloooorrrr SSSSppppaaaacccceeee CCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn
impRGBtoW impWtoRGB
impRGBtoK impKtoRGB
impRGBtoCMY impCMYtoRGB
impRGBtoYIQ impYIQtoRGB
impRGBtoYUV impYUVtoRGB
impRGBtoYCbCr impYCbCrtoRGB
impRGBtoCMYK impCMYKtoRGB
impRGBtoDevCMYK
impRGBtoHSV impHSVtoRGB
impRGBtoHLS impHLStoRGB
EEEErrrrrrrroooorrrr HHHHaaaannnnddddlllliiiinnnngggg
impPerror
impErrorString
AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
The _l_i_b_i_m_p library is based heavily on the _l_i_b_i_m_a_g_e and _l_i_b_g_u_t_i_l
libraries. These libraries have been available as gifts for a number of
years on SGI workstations. The principal author of these libraries is
Paul Haeberli. The zooming code is adapted from the _l_i_b_g_u_t_i_l izoom code
written by Paul Haeberli and Paul Heckbert.
PPPPaaaaggggeeee 2222